package com.cauli.manage.config.model.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Cauli
 * @date 2022/12/14 17:04
 * @description 系统设置详情传输参数
 */
@Data
@ApiModel(description = "系统设置详情传输参数")
public class ConfigDetailVO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "系统设置ID", required = true)
    private Integer configId;

    @ApiModelProperty("是否开启验证码")
    private Boolean captchaMode;

    @ApiModelProperty("备案号")
    private String icp;

    @ApiModelProperty("网站名称")
    private String websiteName;

    @ApiModelProperty("当前脚本的版本号")
    private String version;

    @ApiModelProperty("总存储大小（单位M）")
    private String totalStorageSize;
}
